Practice on Console method in dev tool
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Console Tricks!</title>
</head>
<body>
<p onClick="makeGreen()">×BREAK×DOWN×</p>
<script>
const dogs = [{ name: 'Snickers', age: 2 }, { name: 'hugo', age: 8 }];
function makeGreen() {
const p = document.querySelector('p');
p.style.color = '#BADA55';
p.style.fontSize = '50px';
}
// Regular
// Interpolated
// Styled
// warning!
// Error :|
// Info
// Testing
// clearing
// Viewing DOM Elements
// Grouping together
// counting
// timing
</script>
</body>
</html>